﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BPM.ViewModel
{
	public class CreatePurchaseOrderViewModel
	{
		public string Barcode { get; set; }

		public string Creator { get; set; }

		public int MaterialNumbers { get; set; }

		private List<PurchaseMaterial> _materials = new List<PurchaseMaterial>();

		public List<PurchaseMaterial> Materials
		{
			get
			{
				return _materials;
			}
		}
	}

	public class PurchaseMaterial
	{
		public int MaterialId { get; set; }

		public int Amount { get; set; }

		public string PaymentMode { get; set; }

		public string DeliveryTime { get; set; }
	}
}